Add iOS global asset hash

This commit is contained in:
Ethan O'Brien
2024-04-02 12:35:00 -05:00
parent faab8c12e6
commit b6546793f6
2 changed files with 13 additions and 5 deletions

View File

@ -22,8 +22,11 @@ pub fn asset_hash(req: HttpRequest, body: String) -> HttpResponse {
global::ASSET_HASH_IOS_JP
}
} else {
//todo - ios
global::ASSET_HASH
if android {
global::ASSET_HASH_ANDROID
} else {
global::ASSET_HASH_IOS
}
};
let resp = object!{
@ -58,7 +61,11 @@ pub fn start(req: HttpRequest, body: String) -> HttpResponse {
global::ASSET_HASH_IOS_JP
}
} else {
global::ASSET_HASH
if android {
global::ASSET_HASH_ANDROID
} else {
global::ASSET_HASH_IOS
}
};
userdata::save_acc(&key, user);