File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Add the package to your `Package.swift` dependencies:
3333
3434``` swift
3535 dependencies: [
36- .package (url : " git@github.com:appwrite/sdk-for-swift.git" , from : " 0.7 .0-RC1" ),
36+ .package (url : " git@github.com:appwrite/sdk-for-swift.git" , from : " 1.0 .0-RC1" ),
3737 ],
3838```
3939
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ open class Client {
2323 " x-sdk-name " : " Swift " ,
2424 " x-sdk-platform " : " server " ,
2525 " x-sdk-language " : " swift " ,
26- " x-sdk-version " : " 0.7 .0-RC1" ,
26+ " x-sdk-version " : " 1.0 .0-RC1" ,
2727 " X-Appwrite-Response-Format " : " 1.0.0-RC1 "
2828 ]
2929
Original file line number Diff line number Diff line change @@ -232,7 +232,6 @@ open class Avatars: Service {
232232 /// @param String name
233233 /// @param Int width
234234 /// @param Int height
235- /// @param String color
236235 /// @param String background
237236 /// @throws Exception
238237 /// @return array
@@ -241,15 +240,13 @@ open class Avatars: Service {
241240 name: String ? = nil ,
242241 width: Int ? = nil ,
243242 height: Int ? = nil ,
244- color: String ? = nil ,
245243 background: String ? = nil
246244 ) async throws -> ByteBuffer {
247245 let path : String = " /avatars/initials "
248246 let params : [ String : Any ? ] = [
249247 " name " : name,
250248 " width " : width,
251249 " height " : height,
252- " color " : color,
253250 " background " : background,
254251 " project " : client. config [ " project " ] ,
255252 " key " : client. config [ " key " ]
@@ -522,7 +519,6 @@ open class Avatars: Service {
522519 /// @param String name
523520 /// @param Int width
524521 /// @param Int height
525- /// @param String color
526522 /// @param String background
527523 /// @throws Exception
528524 /// @return array
@@ -532,7 +528,6 @@ open class Avatars: Service {
532528 name: String ? = nil ,
533529 width: Int ? = nil ,
534530 height: Int ? = nil ,
535- color: String ? = nil ,
536531 background: String ? = nil ,
537532 completion: ( ( Result < ByteBuffer , AppwriteError > ) -> Void ) ? = nil
538533 ) {
@@ -542,7 +537,6 @@ open class Avatars: Service {
542537 name: name,
543538 width: width,
544539 height: height,
545- color: color,
546540 background: background
547541 )
548542 completion ? ( . success( result) )
You can’t perform that action at this time.
0 commit comments