Skip to content

Commit

Permalink
Revert "Update copy and remove upload key from code. (#49)"
Browse files Browse the repository at this point in the history
This reverts commit 4f26f0c.
  • Loading branch information
pcraciunoiu committed Apr 26, 2024
1 parent 053d3c1 commit 99e30c4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Foundation

enum Constants {
enum URL {
static let baseURL: String = "https://tiktok-reporter-app-be-tf52yqfkfq-uc.a.run.app/"
static let baseURL: String = "https://tiktok-reporter-app-be-jbrlktowcq-ew.a.run.app/"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,19 @@ enum RecordingAPI: APIRequest {
case let .uploadRecording(contentType, _):
return [
"Content-Type": contentType,
"X-API-Key": ProcessInfo.processInfo.environment["FYP_REPORTER_UPLOAD_API_KEY"] ?? ""
"X-API-Key": ""
]

case .getSignedUrlPath:
return [
"content-type": "application/json",
"X-API-Key": ProcessInfo.processInfo.environment["FYP_REPORTER_UPLOAD_API_KEY"] ?? ""
"X-API-Key": ""
]

case .uploadRecordingV4(_, _):
return [
"content-type": "video/mp4"
"content-type": "video/mp4",
"X-API-Key": ""
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ struct DataHandlingView: View {
// MARK: - Strings

private enum Strings {
static let title = "Manage Your Data"
static let downloadTitle = "Download Your Data"
static let deleteTitle = "Delete Your Data"
static let title = "Data Handling"
static let downloadTitle = "Download My Data"
static let deleteTitle = "Delete My Data"
static let deleteDataAlertTitle = "Delete Data?"
static let deleteDataAlertDescription = "Are you sure you want to delete all your data from our system?"
static let deleteDataAlertDescription = "Are you sure you want to delete all your data from the system?"
static let deleteDataAlertPrimaryActionTitle = "Delete"
static let deleteDataAlertSecondaryActionTitle = "No"
static let dataDeletionTitle = "Data Succesfully Deleted"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ struct SettingsView: View {
}

private var studiesRow: some View {
SettingsRow(title: "PICK A STUDY")
SettingsRow(title: "STUDIES")
}

private var emailRow: some View {
SettingsRow(title: "SIGN UP FOR UPDATES")
SettingsRow(title: "EMAIL ADDRESS")
}

private var termsRow: some View {
Expand All @@ -106,7 +106,7 @@ struct SettingsView: View {
}

private var dataHandlingRow: some View {
SettingsRow(title: "MANAGE YOUR DATA")
SettingsRow(title: "DATA HANDLING")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ extension FormView {
private enum Strings {
static let otherFieldPlaceholder = "Suggest a category"
static let otherTitle = "other"
static let studiesURL = "https://tiktok-reporter-app-be-tf52yqfkfq-uc.a.run.app/studies/by-country-code"
static let studiesURL = "https://tiktok-reporter-app-be-jbrlktowcq-ew.a.run.app/studies/by-country-code"
static let closeNotificationName = "close"

// Other
Expand Down

0 comments on commit 99e30c4

Please sign in to comment.