final updates

This commit is contained in:
2024-08-13 19:54:27 -05:00
parent b7e0bb582a
commit b6316ee758
3 changed files with 39 additions and 9 deletions

View File

@ -201,7 +201,7 @@ impl Fansly {
data: SyncDataResponse,
token: String,
) -> Result<(), reqwest::Error> {
let url = "http://localhost:5001/sync";
let url = "https://botapi.fanslycreatorbot.com/sync";
// Set our content type to application/json
let mut headers = reqwest::header::HeaderMap::new();
@ -233,7 +233,7 @@ impl Fansly {
// Check if the token is valid (GET /checkSyncToken with Authorization header)
// If it is, return the data back from the API
// If it isn't, return an error
let url = "http://localhost:5001/checkSyncToken";
let url = "https://botapi.fanslycreatorbot.com/checkSyncToken";
// Set our content type to application/json
let mut headers = reqwest::header::HeaderMap::new();