You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: awards_controller.rb
    path of file: ./repos/vets-api/modules/mobile/app/controllers/mobile/v0
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'bgs/awards_service'
require 'bid/awards/service'

module Mobile
  module V0
    class AwardsController < ApplicationController
      
    
      def index
        award_data = regular_award_service.get_awards
        raise Common::Exceptions::BackendServiceException, 'MOBL_502_upstream_error' unless award_data

        award_data.merge!(pension_award_service.get_awards_pension.body['awards_pension']&.transform_keys(&:to_sym))
        award_data[:id] = current_user.uuid
        awards = Mobile::V0::Award.new(award_data)
        render json: AwardSerializer.new(awards)
      end