Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Conversation

@vansangpfiev
Copy link
Contributor

Describe Your Changes

This pull request includes a minor change to the RunServer function in the engine/main.cc file. The change involves modifying the validate_api_key lambda function to use a non-const reference for api_keys.

  • engine/main.cc: Changed validate_api_key lambda function to use a non-const reference for api_keys to potentially allow modifications.

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@vansangpfiev vansangpfiev marked this pull request as ready for review March 6, 2025 08:57
@vansangpfiev vansangpfiev merged commit 6716266 into dev Mar 6, 2025
21 checks passed
@vansangpfiev vansangpfiev deleted the s/fix/auth branch March 6, 2025 13:16
vansangpfiev added a commit that referenced this pull request Mar 7, 2025
* fix: use copy instead of reference

* fix: exclude swagger

---------

Co-authored-by: sangjanai <sang@jan.ai>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants