Skip to content

Conversation

@JoergZeidler
Copy link
Contributor

No description provided.

src/main.rs Outdated
Comment on lines 201 to 206
let ods_socket_path_for_api = ods_socket_path.clone();
let api_config = Api {
ods_socket_path,
ods_socket_path: ods_socket_path_for_api,
update_os_path: update_os_path!(),
centrifugo_client_token_hmac_secret_key,
index_html,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. move line 189 to 200
let api_config = Api {
        ods_socket_path: ods_socket_path.clone(),
        update_os_path: update_os_path!(),
        centrifugo_client_token_hmac_secret_key,
        index_html,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.) is not done

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now it should be OK

post(request, socket_path).await
}

async fn post(request: Request<String>, socket_path: &str) -> Result<HttpResponse> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to send_request

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: Joerg Zeidler <[email protected]>
Signed-off-by: Joerg Zeidler <[email protected]>
@JanZachmann JanZachmann merged commit af70fbd into main Apr 28, 2025
2 checks passed
@JoergZeidler JoergZeidler deleted the delete_publish_endpoint branch May 13, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants