Skip to content

Commit be141ed

Browse files
committed
zpop commands have score as second parameter
1 parent 53fc857 commit be141ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RediStack/Commands/SortedSetCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ extension RedisClient {
611611

612612
return send(command: command, with: args)
613613
.tryConverting(to: [RESPValue].self)
614-
.flatMapThrowing { try Self._mapSortedSetResponse($0, scoreIsFirst: true) }
614+
.flatMapThrowing { try Self._mapSortedSetResponse($0, scoreIsFirst: false) }
615615
}
616616
}
617617

0 commit comments

Comments
 (0)